package SystemManagement;

import Const.Constant;
import RecordManagement.ScanType;

public class DataAttrInfo_foreignkeycat {
	public DataAttrInfo foreignkeycat[] = new DataAttrInfo[4];
	int attr_count = 4;
	
	public DataAttrInfo_foreignkeycat(){
		Constant c = new Constant();
		
		foreignkeycat[0] = new DataAttrInfo();
		foreignkeycat[0].relName = "foreignkeycat";
		foreignkeycat[0].attrName = "relName";
		foreignkeycat[0].attrType = ScanType.TYPE_STRING;
		foreignkeycat[0].attrLength = c.MAXNAME;
		foreignkeycat[0].offset = 0;
		
		foreignkeycat[1] = new DataAttrInfo();
		foreignkeycat[1].relName = "foreignkeycat";
		foreignkeycat[1].attrName = "keyName";
		foreignkeycat[1].attrType = ScanType.TYPE_STRING;
		foreignkeycat[1].attrLength = c.MAXNAME;
		foreignkeycat[1].offset = c.MAXNAME;
		
		foreignkeycat[2] = new DataAttrInfo();
		foreignkeycat[2].relName = "foreignkeycat";
		foreignkeycat[2].attrName = "foreignrel";
		foreignkeycat[2].attrType = ScanType.TYPE_STRING;
		foreignkeycat[2].attrLength = c.MAXNAME;
		foreignkeycat[2].offset = c.MAXNAME*2;
		
		foreignkeycat[3] = new DataAttrInfo();
		foreignkeycat[3].relName = "foreignkeycat";
		foreignkeycat[3].attrName = "foreignkeyName";
		foreignkeycat[3].attrType = ScanType.TYPE_STRING;
		foreignkeycat[3].attrLength = c.MAXNAME;
		foreignkeycat[3].offset = c.MAXNAME*3;
	}
}
